package ce.com.cenewbluesdk.entity.k6;

/**
 * Created by Administrator on 2016/12/23 0023.
 */

public class K6_Action {
//    /**
//     * 连接成功
//     */
//    public static final String CONNECT_SUCCEED="CONNECT_SUCCEED";
//    /**
//     * 连接中
//     */
//    public static final String CONNECTING="CONNECTING";
//    /**
//     * 连接失败
//     */
//    public static final String DISCONNECT="DISCONNECT";


    public static class RCVD {
        /**
         * 收到了设备信息
         */
        public static final String RCVD_DEVINFO = "RCVD_devInfo_k6";
        /**
         * 电池信息
         */
        public static final String RCVD_BATTERY = "RCVD_battery_k6";
        /**
         * 运动信息
         */
        public static final String RCVD_SPORT_DATA = "RCVD_SPORT_DATA_k6";
        /**
         * 表盘设置 等消息
         */
        public static final String RCVD_WATCH_FACE_AND_NOTIFICATION_SET = "RCVD_Watch_Face_And_Notification_Set_k6";

        /**
         * 设备设置
         */
        public static final String RCVD_DEV_SET = "RCVD_DEV_SET_k6";
        /**
         * 设备闹钟
         */
        public static final String RCVD_ALARM = "RCVD_ALARM_k6";
        /**
         * 接收到心率数据
         */
        public static final String RCVD_HEART = "RCVD_Heart_k6";
        /**
         * 设备用户信息改变接收到的命令
         */
        public static final String RCVD_USERINFO_CHANGE = "USERINFO_CHANGE_k6";
        /**
         * 接收到设备侧OTA信息的命令
         * bundle= message.getData()
         * K6_OTAStateInfo  : bundle.get(data)
         */
        public static final String RCVD_OTA_INFO = "RCVD_OTA_INFO_k6";
        /**
         * 查找手机的命令
         * meg.arg1
         * // 0:关闭查找，1:打开查找
         */
        public static final String RCVD_FIND_PHONE = "RCVD_FIND_PHONE_k6";
        /**
         * 接收到设备侧OTA信息的命令
         * 只有命令没有值
         */
        public static final String RCVD_TAKE_PHOTOS = "RCVD_TAKE_PHOTOS_k6";
        /**
         * 音乐控制
         * MUSIC_CMD_NULL = 0,
         * MUSIC_CMD_PLAY,				//播放音乐
         * MUSIC_CMD_PAUSE,			//暂停音乐
         * MUSIC_CMD_STOP,				//关闭音乐
         * MUSIC_CMD_BACKWARD,		//上一首
         * MUSIC_CMD_FORWARD,		//下一首
         * MUSIC_CMD_CONTENT,			//获取歌曲内容
         */
        public static final String RCVD_MUSIC_CONTROL = "RCVD_MUSIC_CONTROL_k6";
        /**
         * 配对成功的命令
         */
        public static final String RCVD_PAIR_FINISH = "RCVD_dealPairFinish_k6";

    }

    /**
     * 手机发送完后 成功和失败
     */
    public static class SEND_R {

        public static final int DATA_SEND_SUCCESS=1;
        public static final int DATA_SEND_FAIL=0;

        /**
         * 发送时间
         */
        public static final String SEND_TIME = "SEND_TIME_k6";
        /**
         * 发送闹钟
         */
        public static final String SEND_ALARM = "SEND_ALARM_k6";

        /**
         * 发送通知
         */
        public static final String SEND_MESSAGE_NOTICE = "SEND_MESSAGE_NOTICE_k6";
        /**
         * 手表表盘设置
         */
        public static final String SEND_WATCH_FACE_AND_NOTIFICATION_SET = "SEND_WATCH_FACE_AND_NOTIFICATION_SET_k6";
        /**
         * 手表设置
         */
        public static final String SEND_DEV_SET = "SEND_DEV_SET_k6";
        /**
         * 设置目标
         */
        public static final String SEND_DEV_GOAL = "SEND_DEV_GOAL_k6";
        /**
         * 设置用户信息
         */
        public static final String SEND_USER_INFO = "SEND_USER_INFO_k6";
        /**
         * 设置天气
         */
        public static final String SEND_WEATHER_STRUCT = "SEND_WEATHER_STRUCT_k6";
        /**
         * 音乐信息
         */
        public static final String SEND_MUSIC_INFO = "SEND_MUSIC_INFO_k6";
        /**
         * 发送混合数据
         */
        public static final String SEND_MIX_INFO = "SEND_MIX_INFO_k6";

        /**
         * 发送配对命令
         */
        public static final String SEND_PAIR_FINISH = "SEND_PAIR_FINISH_k6";
        /**
         * 发送A_GPS 数据
         */
        public static final String SEND_GPS_ARGUMENT = "SEND_GPS_ARGUMENT_k6";
        /**
         * 发送OTA 数据
         */
        public static final String SEND_OTA_DATA = "SEND_OTA_DATA_k6";
        /**
         *  开始配对，蓝牙连接成功后，需要发送这一个命令，来实现配对
         */
        public static final String SEND_PAIR_START = "SEND_PAIR_START_k6";
        /**
         *  发送数据传输开关 gson
         */
        public static final String SEND_SET_DATA_SWITCH = "SEND_SET_DATA_SWITCH_k6";

    }


}
